package jm.coll.set;

import java.util.HashMap;
import java.util.HashSet;

/**
 * @Description HashSet源码
 * @date 2022/4/2 13:22
 */
public class HashSetSource {
    public static void main(String[] args) {
        HashSet<String> set = new HashSet<>();
        set.add("a");
        set.add("c");
        System.out.println(set);
        set.add("a");
        System.out.println(set);


    }





}
